//
//  UIImage+extention.h
//  StockRight
//
//  Created by mac on 16/10/18.
//  Copyright © 2016年 SYGuQuan. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (extention)

+(UIImage *)imageWithColor:(UIColor *)aColor;
+(UIImage *)imageWithColor:(UIColor *)aColor withFrame:(CGRect)aFrame;
-(UIImage*)scaledToSize:(CGSize)targetSize highQuality:(BOOL)highQuality;

-(UIImage*) resizableImageWithConstrainedSize:(CGSize)maxSize;

+(UIImage*) imageWithColor:(UIColor*)color size:(CGSize)size;

+(UIImage*) imageWithColor:(UIColor*)color size:(CGSize)size cornerRadius:(CGFloat)radius;

@end
